import moment from 'moment';

let TimeUtils = {
  formatDate(millionSec) {
    if (millionSec) {
      let momentDate = this.$moment(millionSec);
      return momentDate.format('YYYY-MM-DD HH:mm:ss');
    }
    return '';
  }
};

export default TimeUtils;
